﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Chinaer.Model.Entities
{
    [Table("Employee")]
    public class Model_Employee : Model_Base_Role
    {
        /// <summary>
        /// 员工数据库编号
        /// </summary>
        [Key]
        [Required]
        [Column("ID")]
        public string ID { get; set; }
        /// <summary>
        /// 所属店铺编号
        /// </summary>
        [Required]      
        public string DianPuID { get; set; }
        /// <summary>
        /// 入职时间
        /// </summary>
        public DateTime? EntryTime { get; set; }
        /// <summary>
        /// 基础工资
        /// </summary>
        public decimal? Salary { get; set; }
        /// <summary>
        /// 奖金
        /// </summary>
        public decimal? MoneyAward { get; set; }

        public string LoginName { get; set; }

        public string LoginPassword { get; set; }
        /// <summary>
        /// 基础信息编号ID
        /// </summary>
        public string BasePersonInfoID { get; set; }
    }
}
